<template>
  <div class=" paggs">
    <!-- 头部导航++++++++++++++++++++++ -->
    <Navv></Navv>
    <!-- 头部导航=============== -->


    <el-row :gutter="20">

      <el-col :span="4">
        <div class="leftbox">
          <Sidebarts defaultActive="3"></Sidebarts>
        </div>
      </el-col>

      <el-col :span="20">
        <div class="rightbox">

          <div class="righbox1">
            <el-tabs v-model="activeName" @tab-click="handleClick">
              <el-tab-pane label="客户端资源" name="first"></el-tab-pane>
              <!-- <el-tab-pane label="游戏配置" name="second"></el-tab-pane>
              <!-- <el-tab-pane label="客户端资源" name="second"></el-tab-pane>
              <el-tab-pane label="使用手册" name="third"></el-tab-pane> -->
            </el-tabs>
          </div>

          <div class="righbox2 ">

            <div v-if="isfolw==true" style="height:100%;padding-top:44px;">
              <iframe :src="flowSrc" style="height:100%; width:100%;margin:0;border:0;"> </iframe>

            </div>


          </div>

        </div>
      </el-col>
    </el-row>




  </div>


</template>

<script>
  import Navv from "@/components/Navv";
  import Sidebarts from "@/components/Sidebarts";
  export default {
    components: {
      Navv,
      Sidebarts
    },
    data() {
      return {
        flowSrc: '',
        isfolw: true,
        activeName: 'first',
        tableData: [{
            filename: '文件名1',
            authority: '权限所有1',
            sziee: '128',
            datee: '2023-10-26 11:23:23',
            remark: '备注1'
          },

          {
            filename: '文件名1',
            authority: '权限所有1',
            sziee: '128',
            datee: '2023-10-26 11:23:23',
            remark: '备注1'
          },

          {
            filename: '文件名1',
            authority: '权限所有1',
            sziee: '128',
            datee: '2023-10-26 11:23:23',
            remark: '备注1'
          },

        ],
        multipleSelection: []

      }
    },
    created() {
      this.flowSrc = 'http://101.201.47.125:8888/login?tmp_token=hkB5NoNCYgLogGyR8JdUcJ1uH6DyaR51sMc4cfQtm3ftAiqZ'; //直接给flowSrc赋值链接
    },
    methods: {

      toUrl(url) {
        console.log('aaa')
        this.$router.push({
          path: url
        })
      },
      handleOpen() {

      },
      handleClose() {

      },
      handleClick() {

      },
      handleSelectionChange() {

      },
      skip(url) {
        this.$router.replace({
          path: url
        })
      },


    }
  };
</script>
<style scoped lang="scss">
  .paggs {
    background: #F6F7FB;
    height: 100%;
  }

  .leftbox {
    padding-top: 50px;
    z-index: 100px;
    background: #1B1E28;
    height: calc(90vh);
    // height: 100%;
  }

  .rightbox {
    // background: #fff;

  }

  .righbox1 {
    height: 54px;
    background: #fff;
    border-radius: 10px;
    margin-right: 20px;
    margin-top: 20px;
    background: #fff;
    padding: 0px 40px 10px 20px;
  }

  .righbox2 {
    height: calc(80vh);

    background: #fff;
    border-radius: 10px 10px 0 0;
    margin-right: 20px;
    margin-top: 20px;
    background: #fff;
    padding: 20px;
  }

  .righbox2 {}



  // ::v-deep .el-menu-item.is-active {
  //   background: #779EFE !important;

  // }

  // .item_nav {
  //   margin-bottom: 20px !important;
  // }

  // ::v-deep .el-tabs__item {
  //   font-size: 18px;
  //   color: black;
  //   font-weight: bold;
  // }

  // ::v-deep .el-tabs__item.is-active {
  //   color: #409EFF;
  // }

  .bota {
    margin-right: 10px;
    width: 122px;
    height: 34px;
    background: #363D56;
    border-radius: 6px;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
  }

  .botb {
    margin-right: 10px;

    width: 155px;
    height: 34px;
    background: #EF4F19;
    border-radius: 6px;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
  }

  .bota_img {
    width: 16px;
    height: 16px;
  }

  .bota_img2 {
    margin-top: 3px;
    width: 14px;
    height: 8px;
    margin-left: 8px;
  }
</style>
